package com.example.demo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author vivi
 * @description
 * @date 2024/5/25
 */
@Component
@ConfigurationProperties("dbtypes")
@Data
public class ListDemo {
    private List<String> name;
}





